//
// Created by liushuai on 18-10-30.
//

#include "Coordinate.h"
#include "iostream"
Coordinate::Coordinate(int x, int y) {
    X = x;
    Y = y;
}
int Coordinate::getY() {
    return Y;
}
int Coordinate::getX() {
    return X;
}
void Coordinate::printInfo() const {
    std::cout<<X<<":"<<Y<<"\n";
}